<?php
/**
 * @TABLE "email_spool_template"
 */
class BaseEmailSpoolTemplate extends Abstract_PluginEntityManager_Entity
{
	/**
	 * @PRIMARY
	 * @COLUMN "id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @AUTO_INCREMENT
	 */
	public $id;

	/**
	 * @COLUMN "name"
	 * @TYPE "varchar"
	 * @LENGTH "128"
	 * @NOT_NULL
	 */
	public $name;

	/**
	 * @COLUMN "filename_body"
	 * @TYPE "varchar"
	 * @LENGTH "128"
	 */
	public $filename_body;

	/**
	 * @COLUMN "filename_subject"
	 * @TYPE "varchar"
	 * @LENGTH "128"
	 */
	public $filename_subject;

	/**
	 * @COLUMN "params"
	 * @TYPE "text"
	 * @NOT_NULL
	 */
	public $params;

	/**
	 * @COLUMN "count_not_send"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $count_not_send;

	/**
	 * @COLUMN "count_send"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @DEFAULT "0"
	 */
	public $count_send;

	/**
	 * @COLUMN "status"
	 * @TYPE "enum"
	 * @LENGTH "'actived','deleted'"
	 * @NOT_NULL
	 */
	public $status;
}
?>